package com.sgb.kjwl.view.ui.activity.toBeReviewed;

import com.sgb.kjwl.view.ui.activity.member.AddMemberEntity;
import com.swgk.core.base.model.entity.BaseEntity;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * 招采首页接口
 */
public interface ToReviewAPI {


    @FormUrlEncoded
    @POST("v1/app/userInfo/memberApplyList")
    Call<BaseEntity<List<MemberApplyEntry>>> getList(@Field("companyNo") String companyNo);


    //管理员添加成员
    @POST("v1/app/userInfo/addMember")
    Call<BaseEntity> addMember(@Body AddMemberEntity entity);
}